import React, { Component } from 'react';
import { HashRouter} from 'react-router-dom'
import './App.css';

//把刚才定义的头部引用进来 from后面写路径
import ComponentHeader from './Navi/header';
//把刚才定义的头部引用进来 from后面写路径
import Main from './Navi/Main';
//把刚才定义的底部引用进来 from后面写路径
import ComponentFooter from './Navi/footer.js';


export default class App extends Component {
    render() {
        return (
            <div>
                <HashRouter>
                    <div>
                        <ComponentHeader/>
                        <Main/>
                    </div>
                </HashRouter>
                <ComponentFooter/>
            </div>
        );
    }
}

